home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / lan / ssl15.zip / SAMPLES.ZIP / COLORS.SSL < prev    next >
Text File  |  1995-12-28  |  2KB  |  69 lines

  1. ################################################
  2. # This file contains sample uses of functions  # 
  3. # which change the colors on the screen        #
  4. #                                              #
  5. # MASTERBACK                                   #
  6. # MASTERFORE                                   #
  7. # MENUITEMBACK                                 #
  8. # MENUITEMFORE                                 #
  9. # WINBACK                                      #
  10. # WINFORE                                      #
  11. ################################################
  12.  
  13.  
  14. EQU 1 "WINBACK and WINFORE are used to change the colors of any windows"
  15. EQU 2 "displayed on the screen using the MENU, OUTPUTWINDOW or INPUTWINDOW"
  16. EQU 3 "functions.  MENUITEMBACK and MENUITEMFORE are used to change the"
  17. EQU 4 "colors of highlight text inside a window when using the MENU and"
  18. EQU 5 "INPUTWINDOW functions."
  19. EQU 6 ""
  20. EQU 7 "Press any key to continue?"
  21.  
  22. OUTPUTWINDOW "" @1@ @2@ @3@ @4@ @5@ @6@ @7@
  23.  
  24. EQU 1 "The following MENU will have a light gray background and a black" 
  25. EQU 2 "foreground which were set by WINBACK and WINFORE!"
  26. EQU 3 " "
  27. EQU 4 "The highlighted menu item will have a black background and a blue"
  28. EQU 5 "foreground which were set by MENUITEMBACK and MENUITEMFORE!"
  29. EQU 6 ""
  30. EQU 7 "Press any key to continue?"
  31.  
  32. OUTPUTWINDOW "" @1@ @2@ @3@ @4@ @5@ @6@ @7@
  33.  
  34. WINBACK lightgray
  35. WINFORE black
  36. MENUITEMBACK black
  37. MENUITEMFORE blue
  38.  
  39. MENU choice " My Menu " Menu1 Menu2 Menu3
  40.  
  41. ############################################################################
  42.  
  43. EQU 1 "When you use the WINBACK and WINFORE functions it will only use those"
  44. EQU 2 "settings for future windows.  If you want the PROGRESS and ERROR"
  45. EQU 3 "windows to use these colors you must use the REFRESH function after"
  46. EQU 4 "you set the WINBACK and WINFORE colors!"
  47. EQU 5 " "
  48. EQU 6 "Press any key and the PROGRESS and ERROR windows will change to" 
  49. EQU 7 "the new colors!"
  50.  
  51. OUTPUTWINDOW "" @1@ @2@ @3@ @4@ @5@ @6@ @7@
  52.  
  53. REFRESH
  54.  
  55. ############################################################################
  56.  
  57. EQU 1 "If you desire to change the color of the desktop you must use"
  58. EQU 2 "the MASTERBACK and MASTERFORE functions!"
  59. EQU 3 " "
  60. EQU 4 "Press any key and the desktop colors will change to a GREEN" 
  61. EQU 5 "background and a MAGENTA foreground!"
  62.  
  63. OUTPUTWINDOW "" @1@ @2@ @3@ @4@ @5@
  64.  
  65. MASTERBACK green
  66. MASTERFORE magenta
  67.  
  68. OUTPUTWINDOW "" "Press any key to EXIT!"
  69.